package com.atung.merchant.exception;

import com.atung.merchant.result.CommonResultCode;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(
        code = HttpStatus.UNAUTHORIZED
)
public class UnAuthorizedException extends UdpAppException {
    public UnAuthorizedException(String message) {
        super(CommonResultCode.UNAUTHORIZED.getCode(), "BaseLanguage", message, new Object[0]);
    }
}
